home *** CD-ROM | disk | FTP | other *** search
-
-
-
- eeeexxxxppppaaaannnndddd((((1111)))) eeeexxxxppppaaaannnndddd((((1111))))
-
-
-
- NNNNAAAAMMMMEEEE
- expand - convert tabs to spaces
-
- SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
- eeeexxxxppppaaaannnndddd [ -t tablist ] [ file ]
-
- DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
- The _e_x_p_a_n_d utility writes files or the standard input to the standard
- output with tab characters replaced with one or more space characters
- needed to pad to the next tab stop. Any backspace characters will be
- copied to the output and cause the column position count for tab stop
- calculations to be decremented; the column position count will not be
- decremented below zero.
-
- OOOOPPPPTTTTIIIIOOOONNNNSSSS
- _e_x_p_a_n_d may be used with the following options:
-
- ----tttt _t_a_b_l_i_s_t
- Specify the tab stops. The argument tablist must consist of a single
- positive decimal integer or multiple positive decimal integers,
- separated by blank characters or commas, in ascending order. If a
- single number is given, tabs will be set _t_a_b_l_i_s_t column positions
- apart instead of the default 8. If multiple numbers are given, the
- tabs will be set at those specific column positions.
-
- Each tab-stop position _N must be an integer value greater than zero,
- and the list must be in strictly ascending order. This is taken to
- mean that, from the start of a line of output, tabbing to position _N
- causes the next character be in the (_N+_1)_t_h column position on that
- line.
-
- In the event of _e_x_p_a_n_d having to process a tab character at a
- position beyond the last of those specified in a multiple tab-stop
- list, the tab character is replaced by a single space character in
- the output.
-
- OOOOPPPPEEEERRRRAAAANNNNDDDDSSSS
- The following operand is supported:
-
- -t _f_i_l_e The pathname of a text file to be used as input.
-
- SSSSTTTTDDDDIIIINNNN
- See IIIINNNNPPPPUUUUTTTT FFFFIIIILLLLEEEESSSS....
-
- IIIINNNNPPPPUUUUTTTT FFFFIIIILLLLEEEESSSS
- Input files must be text files.
-
- EEEENNNNVVVVIIIIRRRROOOONNNNMMMMEEEENNNNTTTT VVVVAAAARRRRIIIIAAAABBBBLLLLEEEESSSS
- The following environment variables affect the execution of _e_x_p_a_n_d:
-
- _L_A_N_G Provide a default value for the internationalisation variables
- that are unset or null. If _L_A_N_G is unset or null, the corresponding value
-
-
-
- PPPPaaaaggggeeee 1111
-
-
-
-
-
-
- eeeexxxxppppaaaannnndddd((((1111)))) eeeexxxxppppaaaannnndddd((((1111))))
-
-
-
- from the implementation-specific default locale will be used. If any of
- the internationalisation variables contains an invalid setting, the
- utility will behave as if none of the variables had been defined.
-
- _L_C__A_L_L If set to a non-empty string value, override the values of
- all the other internationalisation variables.
-
- _L_C__C_T_Y_P_E Determine the locale for the interpretation of sequences of
- bytes of text data as characters (for example, single- as opposed to
- multi-byte characters in arguments and input files), the processing of
- tab and space characters, and for the determination of the width in
- column positions each character would occupy on a constant-width font
- output device.
-
- _L_C__M_E_S_S_A_G_E_S Determine the locale that should be used to affect the
- format and contents of diagnostic messages written to standard error.
-
-
- AAAASSSSYYYYNNNNCCCCHHHHRRRROOOONNNNOOOOUUUUSSSS EEEEVVVVEEEENNNNTTTTSSSS
- Default.
-
-
- SSSSTTTTDDDDOOOOUUUUTTTT
- The standard output is equivalent to the input files with tab characters
- converted into the appropriate number of space characters.
-
-
- SSSSTTTTDDDDEEEERRRRRRRR
- Used only for diagnostic messages.
-
-
- OOOOUUUUTTTTPPPPUUUUTTTT FFFFIIIILLLLEEEESSSS
- None.
-
-
- EEEEXXXXTTTTEEEENNNNDDDDEEEEDDDD DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
- None.
-
-
- EEEEXXXXIIIITTTT SSSSTTTTAAAATTTTUUUUSSSS
- The following exit values are returned:
-
- 0 Successful completion.
-
- >0 An error occurred.
-
-
- CCCCOOOONNNNSSSSEEEEQQQQUUUUEEEENNNNCCCCEEEESSSS OOOOFFFF EEEERRRRRRRROOOORRRRSSSS
- The _e_x_p_a_n_d utility will terminate with an error message and non-zero exit
- status upon encountering difficulties accessing one of the _f_i_l_e operands.
-
-
-
-
-
- PPPPaaaaggggeeee 2222
-
-
-
-
-
-
- eeeexxxxppppaaaannnndddd((((1111)))) eeeexxxxppppaaaannnndddd((((1111))))
-
-
-
- AAAAPPPPPPPPLLLLIIIICCCCAAAATTTTIIIIOOOONNNN UUUUSSSSAAAAGGGGEEEE
- None.
-
-
- EEEEXXXXAAAAMMMMPPPPLLLLEEEESSSS
- None.
-
-
- FFFFUUUUTTTTUUUURRRREEEE DDDDIIIIRRRREEEECCCCTTTTIIIIOOOONNNNSSSS
- None.
-
-
- SSSSEEEEEEEE AAAALLLLSSSSOOOO
- _t_a_b_s, _u_n_e_x_p_a_n_d
-
-
- CCCCHHHHAAAANNNNGGGGEEEE HHHHIIIISSSSTTTTOOOORRRRYYYY
- First released in Issue 4.
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- PPPPaaaaggggeeee 3333
-
-
-
-